import request from '@/utils/request'

export function getAclModuleTree(){
    return request({
        url: '/aclModule/getAclModuleTree',
        method: 'get',
    })
}
export function saveAclModule(data){
    return request({
        url: '/aclModule/saveAclModule',
        method: 'post',
        data
    })
}
export function updateAclModule(data){
    return request({
        url: '/aclModule/updateAclModule',
        method: 'put',
        data
    })
}
export function deleteAclModule(id){
    return request({
        url: '/aclModule/deleteAclModule/'+id,
        method: 'delete',
    })
}

